<%--
  Created by IntelliJ IDEA.
  User: MECHREVO
  Date: 2021/3/30
  Time: 9:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page isELIgnored="false" contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>


<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<link href="resources/css/axure_rp_page.css" type="text/css" rel="stylesheet"/>
<link href="data/styles.css" type="text/css" rel="stylesheet"/>
<link href="files/登陆/styles.css" type="text/css" rel="stylesheet"/>

<link href="${pageContext.request.contextPath}/ui/layui/css/layui.css" type="text/css" rel="stylesheet"/>


<%--/使用$.ajax()发送异步请求
$.ajax({
url:"ajaxServlet1111" , // 请求路径
type:"POST" , //请求方式
//data: "username=jack&age=23",//请求参数
data:{"username":"jack","age":23},
success:function (data) {
alert(data);
},//响应成功后的回调函数
error:function () {
alert("出错啦...")
},//表示如果请求响应出现错误，会执行的回调函数

dataType:"text"//设置接受到的响应数据的格式
});--%>

<%--<script type="text/javascript">
    function a(){
        var email = $("#email").val();
        var password = $("#password").val();
        var yzm = $("#yzm").val();
        alert(name);
        $.ajax({
            url:"${pageContext.request.contextPath}/login",
            type:"post",
            data:{"email":email,"password":password,"yzm":yzm},
            success:function(result,testStatus){
                if(result =="true"){
                    alert("登陆成功");
                    window.location.href="jsp/show.jsp";
                }else{
                    alert("登陆失败，请注册");
                }

            },
            error:function(xhr,errrorMessage,e){
                alert("服务器异常，请重试");
            }
        });

    }

</script>--%>

<body>

<span style="color: crimson">${msg}</span>



<form action="${pageContext.request.contextPath}/login" method="post">
<div id="base" class="">

    <!-- Unnamed (文本框) -->
    <div id="u13" class="ax_default text_field">
        <div id="u13_div" class=""></div>
        <input id="u13_input" type="text" name="email" value="" class="u13_input"/>
    </div>

    <!-- Unnamed (矩形) -->
    <div id="u14" class="ax_default label">
        <div id="u14_div" class=""></div>
        <div id="u14_text" class="text ">
            <p><span>邮箱</span></p>
        </div>
    </div>

    <!-- Unnamed (矩形) -->
    <div id="u15" class="ax_default label">
        <div id="u15_div" class=""></div>
        <div id="u15_text" class="text ">
            <p><span>密码</span></p>
        </div>
    </div>

    <!-- Unnamed (文本框) -->
    <div id="u16" class="ax_default text_field">
        <div id="u16_div" class=""></div>
        <input id="u16_input" type="password" name="password" value="" class="u16_input"/>
    </div>

    <div class="layui-btn-container" style="height: 146px;width: 146px;margin-left: 270px;margin-top: 165px">

        <button type="submit" class="layui-btn" style="width: 100px">登录</button>




    </div>


    <div id="u18" style="display:none; visibility:hidden;"></div>
</div>

</form>
</body>
<script src="resources/scripts/axure/ios.js"></script>
<script src="${pageContext.request.contextPath}/ui/layui/layui.js"></script>


<script src="resources/scripts/jquery-3.2.1.min.js"></script>
<script src="resources/scripts/axure/axQuery.js"></script>
<script src="resources/scripts/axure/globals.js"></script>
<script src="resources/scripts/axutils.js"></script>
<script src="resources/scripts/axure/annotation.js"></script>
<script src="resources/scripts/axure/axQuery.std.js"></script>
<script src="resources/scripts/axure/doc.js"></script>
<script src="resources/scripts/messagecenter.js"></script>
<script src="resources/scripts/axure/events.js"></script>
<script src="resources/scripts/axure/recording.js"></script>
<script src="resources/scripts/axure/action.js"></script>
<script src="resources/scripts/axure/expr.js"></script>
<script src="resources/scripts/axure/geometry.js"></script>
<script src="resources/scripts/axure/flyout.js"></script>
<script src="resources/scripts/axure/model.js"></script>
<script src="resources/scripts/axure/repeater.js"></script>
<script src="resources/scripts/axure/sto.js"></script>
<script src="resources/scripts/axure/utils.temp.js"></script>
<script src="resources/scripts/axure/variables.js"></script>
<script src="resources/scripts/axure/drag.js"></script>
<script src="resources/scripts/axure/move.js"></script>
<script src="resources/scripts/axure/visibility.js"></script>
<script src="resources/scripts/axure/style.js"></script>
<script src="resources/scripts/axure/adaptive.js"></script>
<script src="resources/scripts/axure/tree.js"></script>
<script src="resources/scripts/axure/init.temp.js"></script>
<script src="resources/scripts/axure/legacy.js"></script>
<script src="resources/scripts/axure/viewer.js"></script>
<script src="resources/scripts/axure/math.js"></script>
<script src="resources/scripts/axure/jquery.nicescroll.min.js"></script>
<script src="data/document.js"></script>
<script src="files/登陆/data.js"></script>
<script type="text/javascript">
    $axure.utils.getTransparentGifPath = function() { return 'resources/images/transparent.gif'; };
    $axure.utils.getOtherPath = function() { return 'resources/Other.html'; };
    $axure.utils.getReloadPath = function() { return 'resources/reload.html'; };
</script>
</html>
